package com.ckk.eurekaclient.constants;

/**
 * 状态码定义
 *
 * @author momo
 */
public class ErrorCode {

    public static final int STATUS_MS_EXCEPTION = 500;
    public static final int STATUS_VALIDATE_EXCEPTION = 420;
    public static final int STATUS_UNCHECKED_EXCEPTION = 605;
    public static final int STATUS_TOKEN_NULL_EXCEPTION = 604;


    public static final int STATUS_CODE_SUCCESS = 0;
    public static final int STATUS_CODE_WARN = 1;
    public static final int STATUS_CODE_ERROR = 2;
    public static final int STATUS_CODE_INFO = 3;
    public static final int STATUS_CODE_TOKEN_EXPIRED = 4;
    public static final int STATUS_CODE_FATAL = 5;
    public static final int STATUS_CODE_TRADE_PWD_NOT_SET = 6;
    public static final int STATUS_ACCOUNT_LOCKED = 7;
    public static final int STATUS_TRADE_PWD_OVER_THREE_TIME = 8;
    public static final int STATUS_TRADE_PWD_ERROR = 9;
    public static final int STATUS_EMPTY_PWD_ERROR = 10;
    public static final int STATUS_TEL_NOT_RGI_ERROR = 11;
    public static final int STATUS_TEL_ALREADY_REGI = 12;
    public static final int STATUS_SAFETY_RISK = 13;
    public static final int STATUS_LOGIN_CODE = 15;

    public static final String ERROR_TOKEN_EXPIRED = "登陆过期，请重新登录";
    public static final String ERROR_TRADE_PWD_OVER_THREE_TIME = "支付密码错误，请15分钟后再试";
    public static final String ERROR_TRADE_PWD_ERROR = "支付密码错误，请重试";
    public static final String ERROR_EMPTY_PWD_ERROR = "请设置登录密码";
    public static final String ERROR_TEL_NOT_RGI = "该号码未注册";
    public static final String ERROR_USERNAME_OR_PASSWORD = "用户名或者密码错误";
    public static final String ERROR_TRADE_PWD = "交易密码错误";
    public static final String ERROR_FORBIDDEN_OPER = "非法操作";
    public static final String ERROR_TRADE_PWD_NOT_SET = "非法操作";
    public static final String ERROR_NOT_REAL_NAME_AUTH = "您未实名认证，禁止该操作";
    public static final String ERROR_INTERNAL_SERVER_ERROR = "服务器内部错误";
    public static final String ERROR_UNAUTHORIZED = "token不正确或已过期";
    public static final String ERROR_TOKEN_IS_NULL = "token不能为空";
    public static final String ERROR_MISS_SERVLET = "服务不存在";
    public static final String ERROR_CAPTCHA_OFTEN = "验证码已发送";
    public static final String ERROR_CAPTCHA_WRONG = "验证码错误";
    public static final String ERROR_TEL_ALREADY_REGI = "该手机号已被注册";
    public static final String ERROR_CODE_DUPLICATE_KEY = "重复添加信息（含部分）";
    public static final String ERROR_NOT_EXITS = "对应记录不存在";
    public static final String ERROR_STATUS_CATEGORY = "状态错误";
    public static final String ERROR_FRIEND_SHIP_ALREADY = "已经是你好友";
    public static final String ERROR_FRIEND_SHIP_WAIT = "已向改好友发出邀请，等待接受";
    public static final String ERROR_CODE_ACCOUNT_LOCKED = "账号被锁定，请联系客服";
    public static final String WARN_ARGUMENT = "参数错误";
    public static final String ERROR_USERNAME_EXIST = "该号码已被注册";
    public static final String ERROR_SAFETY_RISK = "不在常用设备上登录";
    public static final String INFO_TEL_BIND = "手机号码已经被绑定";
    public static final String INFO_TEL_FORMAT_WRONG = "手机号码格式不正确";
    public static final String ERROR_NOT_FOUND = "404 not found";
}
